package com.vhall.component.entity.rbac.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author dalong
 * @date 2021-05-13 19:32
 */
@Data
public class ActionGenerateReqVO implements Serializable {

    private static final long serialVersionUID = -6142452456445986885L;
    @NotBlank(message = "不能为空")
    @ParamName(value = "action_id")
    private String actionId;

    @NotBlank(message = "不能为空")
    @ParamName(value = "controller_name")
    private String controllerName;

    @NotBlank(message = "不能为空")
    @ParamName(value = "action_name")
    private String actionName;

    @NotBlank(message = "不能为空")
    @ParamName(value = "pid")
    private Integer pid;

    @NotBlank(message = "不能为空")
    @ParamName(value = "desc")
    private String desc;
}
